#ifndef MFS_CAR_OBJECT_H
#define MFS_CAR_OBJECT_H

#include "mbase_object.h"
#include "socket_item.h"
#include <QPainter>

class mFS_car_object : public MBaseObject
{
public:
    enum {Type = UserType + 4};
    int type() const override { return Type; }

    explicit mFS_car_object(mFS_car_object *parent = nullptr);
    ~mFS_car_object();

    QRectF boundingRect() const Q_DECL_OVERRIDE;
    void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) Q_DECL_OVERRIDE;
    MBaseObject::OBJTYPE objType() const  Q_DECL_OVERRIDE { return FS_car; }

    SocketObject* getsocketBLeft() const {return socketBLeft;}
    SocketObject* getsocketBright() const {return socketBright;}

private:
    SocketObject* socketBLeft;
    SocketObject* socketBright;


};

#endif // MFS_CAR_OBJECT_H
